#ifndef __DRAW_GRAPHIC_THREAD__
#define __DRAW_GRAPHIC_THREAD__

#include "DataQueue.h"
UINT DrawGraphicThread( LPVOID pParam );
int CalculateCordinate(DATA_ELEM_S *pData, 
                          int viewWidth, 
                          int viewHeight, 
                          int graphicMode,
						  int tunnelCode,
                          int *x, 
                          int *y, 
                          double *displacement,
                          double *force,
						  float disCo,
						  float forceCo);

int CalculateCordinateEx(int freqMode,
					   int graphicMode,
					   int tunnelCode,
					   double displacement[],
					   double force[],
					   int &nDataCount,
					   int nCollecCount,
					   bool bAverage,
					   float disCo,
					   float forceCo);


#endif